class User {
    def delayTime // 脚本延迟启动时间
    def battleTime  // 魂土一把的战斗时间 12s
    Integer battleNum // 战斗次数
    // 电脑分辨率，长 / 缩放比例
    def pcLong = 2560 / 1.5
    // 电脑分辨率，宽
    def pcWidth = 1600 / 1.5
    // 电脑缩放比例
    def pcEnlarge

    User() {
    }

    User(delayTime, battleTime, Integer battleNum, pcLong, pcWidth, pcEnlarge) {
        this.delayTime = delayTime
        this.battleTime = battleTime
        this.battleNum = battleNum
        this.pcLong = (int) (pcLong / pcEnlarge)
        this.pcWidth = (int) (pcWidth / pcEnlarge)
        this.pcEnlarge = pcEnlarge
    }
}
